package com.homework.service.impl;

import com.homework.entity.History;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.homework.dao.HistoryMapper;
import com.homework.service.HistoryService;

import java.util.List;

@Service
public class HistoryServiceImpl implements HistoryService{

    @Resource
    private HistoryMapper historyMapper;

    @Override
    public List<History> findAll() {
        return historyMapper.selectAll();
    }
}
